package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyService {
    PageInfo<Strategy> query(QueryObject qo);

    void saveOrUpdate(Strategy entity);

    /**
     * 查询所有非禁用的大攻略
     * @return
     */
    List<Strategy> list();

    Strategy get(Long id);

    List<Strategy> selectAll();
}
